package com.andy.demo.java.sample.interfaces;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author andy
 */
@Slf4j
@RestController
@RequestMapping("api/event/")
public class EventController
{
    @RequestMapping(value = "test", method = RequestMethod.GET)
    public String eventTest()
    {
        log.info("TTT");
        return "Hello Word";
    }
}
